package com.fx.student.mapper;

import com.fx.student.dto.StudentDto;
import com.fx.student.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface StudentMapper {
    int delete(String id);

    int insert(Student student);

    int insertDynamic(Student student);

    int updateDynamic(Student student);

    int update(Student student);

    Student selectById(String id);

    List<Student> findPageWithResult(StudentDto studentDto);

    Integer findPageWithCount(StudentDto studentDto);
}